package lambda.cart;

/**
 *@Author:fengxiaohui
 *@Description: 商品类型枚举
 *@Date:Create in 23:30 2024/12/9
 *@Modified By:
 */
public enum SkuCategoryEnum {
    CLOTHING(10,"服装类"),
    ELECTRONICS(20,"数码类"),
    SPORTS(30,"运动类"),
    BOOKS(40,"图书类");

    //商品类型的编号
    private Integer code;
    //商品类型的名称
    private String name;

    SkuCategoryEnum(Integer code, String name) {
        this.code = code;
        this.name = name;
    }
}
